function renderPageToolBar(jsonData, paginationStr, searchFunctionStr) {
//	alert('正在渲染' + paginationStr)
    layui.use('laypage', function() {
        var laypage = layui.laypage;
        laypage.render({
            elem: paginationStr,
            count: jsonData.totalCount,
            curr: jsonData.pageNo,
            limit: jsonData.pageSize,
            layout: ['count', 'prev', 'page', 'next', 'limit', 'refresh', 'skip'],
            jump: function(obj, first) {
                //首次不执行
                if (!first) {
                	console.log('jump 触发')
	                console.log(obj.curr);
	                console.log(obj.limit);
	                eval(searchFunctionStr)
                }
            }
        });
    });
}

function resetPageNo() {
    $("#gotoPageNo").val(1);
}

function disableTheButton(obj) {
    $(obj).addClass("layui-btn-disabled");
    $(obj).attr("disabled", "disabled");
}

function enableTheButton(obj) {
    $(obj).removeClass("layui-btn-disabled");
    $(obj).removeAttr("disabled");
}